package com.googlecode.dgwt.client.dijit.view.store;

import com.google.gwt.event.shared.HandlerRegistration;
import com.googlecode.dgwt.client.dijit.base.HasRows;
import com.googlecode.dgwt.client.dijit.base.selection.HasSelection;
import com.googlecode.dgwt.client.dijit.event.RowClickHandler;
import com.googlecode.dgwt.client.dijit.event.RowDoubleClickHandler;
import com.googlecode.dgwt.client.dojo.data.base.IndexedStore;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public interface RowView extends StoreView, HasRows, HasSelection {
    
    public boolean isRowSelected(int rowIndex);
    
    public IndexedStore<Object> getStore();


    public HandlerRegistration addRowClickHandler(RowClickHandler handler);

    public HandlerRegistration addRowDoubleClickHandler(RowDoubleClickHandler handler);
    
}


// FIXME adicionar os outros handlers addRowEvent**
